package com.kangaroo.myhome.mapper;

import com.kangaroo.myhome.model.CommonSearch;
import com.kangaroo.myhome.model.TSysOption;
import com.kangaroo.myhome.model.TSysOptionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSysOptionMapper {

    List<TSysOption> findByCode(String opCode);

    List<TSysOption> selectByPagination(CommonSearch commonSearch);

    long selectByPaginationCount(CommonSearch commonSearch);

    long countByExample(TSysOptionExample example);

    int deleteByExample(TSysOptionExample example);

    int deleteByPrimaryKey(String id);

    int insert(TSysOption record);

    int insertSelective(TSysOption record);

    List<TSysOption> selectByExample(TSysOptionExample example);

    TSysOption selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TSysOption record, @Param("example") TSysOptionExample example);

    int updateByExample(@Param("record") TSysOption record, @Param("example") TSysOptionExample example);

    int updateByPrimaryKeySelective(TSysOption record);

    int updateByPrimaryKey(TSysOption record);
}